﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;

namespace Ocelot.Admin.Api.Core
{
    /// <summary>
    /// 路由地址配置表
    ///</summary>
    [SugarTable("RouteHostPort")]
    public class RouteHostPort
    {
        /// <summary>
        /// 主键Id 
        ///</summary>
        [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Host")]
        public string Host { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "Port")]
        public int Port { get; set; }
        /// <summary>
        /// 路由Id 
        ///</summary>
        [SugarColumn(ColumnName = "RouteId")]
        public int RouteId { get; set; }
    }
}
